package com.buba.service.impl;

import com.buba.pojo.LgLog;
import com.buba.mapper.LgLogMapper;
import com.buba.service.LgLogService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 服务实现类
 * </p>
 *
 * @author MrJia
 * @since 2020-10-27
 */
@Service
public class LgLogServiceImpl extends ServiceImpl<LgLogMapper, LgLog> implements LgLogService {

    @Autowired
    private LgLogMapper lgLogMapper;

    @Override
    public void addLog(LgLog lgLog) {
        lgLogMapper.insert(lgLog);
    }
}
